package com.xiaodoo.test.client;

import com.xiaodoo.http.anno.HttpClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@HttpClient(name = "ipLocation",url = "https://apis.map.qq.com")
public interface IpLocationClient {

    @RequestMapping("/ws/location/v1/ip")
    String ipLocation(@RequestParam("key") String key);
}
